package com.seasonsfood.mall.service.dispatch.api.service;

import com.seasonsfood.mall.core.service.BaseService;
import com.seasonsfood.mall.service.dispatch.api.domain.DispSiteUnit;
import com.seasonsfood.mall.util.constant.ResponseCode;
import com.seasonsfood.mall.util.model.ListResponse;

public interface DispSiteUnitService extends BaseService<DispSiteUnit> {


    ListResponse<DispSiteUnit> siteUnitList(Long parentId, Integer pageNum, Integer pageSize);

    ResponseCode addSiteUnit(DispSiteUnit dispSiteUnit);

    ResponseCode updateSiteUnit(DispSiteUnit dispSiteUnit);
}
